/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package estacionamento;

import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author Emerson
 */
public class PainelPrincipal extends JPanel {
    public void paintComponent(Graphics g) {
        Image imagem = new ImageIcon("img.jpg").getImage();
        g.drawImage(imagem, 0, 0, this);
    }
}
